Skip to content

AnalysisPluginV0 typing improvements and fixes #1456

Open
jstucke wants to merge 1 commit intomasterfrom
tag-color-enum
Open

AnalysisPluginV0 typing improvements and fixes #1456
jstucke wants to merge 1 commit intomasterfrom
tag-color-enum

Conversation

@jstucke
Copy link
Copy Markdown
Collaborator

@jstucke jstucke commented Mar 12, 2026

AnalysisPluginV0 typing improvements

  • improve plugin type hinting
  • convert TagColor class to Enum to make sure custom plugins don't use arbitrary strings for Tag.color

@jstucke jstucke self-assigned this Mar 12, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 12, 2026

Codecov Report

❌ Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.43%. Comparing base (c93cb37) to head (cc6997d).

Files with missing lines Patch % Lines
src/web_interface/filter.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1456      +/-   ##
==========================================
- Coverage   92.43%   92.43%   -0.01%     
==========================================
  Files         370      370              
  Lines       20833    20816      -17     
==========================================
- Hits        19258    19242      -16     
+ Misses       1575     1574       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@dorpvom dorpvom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this called "convert TagColor" and then the "change of the TagColor" is only like 5 lines of the 50?

convert TagColor class to Enum to make sure custom plugins don't use arbitrary strings for Tag.color
@jstucke jstucke changed the title feat: convert TagColor class to Enum AnalysisPluginV0 typing improvements and fixes Mar 16, 2026
@jstucke
Copy link
Copy Markdown
Collaborator Author

jstucke commented Mar 16, 2026

Why is this called "convert TagColor" and then the "change of the TagColor" is only like 5 lines of the 50?

You are totally right. I improved the wording

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants